<template>
    <div class="box">
        <Child></Child>
    </div>
</template>
<script setup>
import Child from './Child.vue';
</script>
<style scoped>
.box :deep(.child){
    color:red;
}
</style>